package com.framework.bdf4j.job.task;

import java.time.LocalDateTime;

import org.springframework.stereotype.Component;

import com.framework.bdf4j.comm.enums.ScaQuartzEnum;

import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Component("demo")
public class SpringBeanTaskDemo {
	/**
	 * 测试Spring Bean的演示方法
	 */
	@SneakyThrows
	public String demoMethod(String para) {
		log.info("测试于:{}，输入参数{}", LocalDateTime.now(), para);
		return ScaQuartzEnum.JOB_LOG_STATUS_SUCCESS.getType();
	}
}
